<template>
  <div class="h-panel-bar">
    <Breadcrumb :datas="titles"></Breadcrumb>
    <span class="h-panel-right">
      <button @click="close" class="h-btn h-btn-no-border h-btn-text-primary" style="padding:0px;">
        <i class="h-icon-close"></i>
      </button>
    </span>
  </div>
</template>
<script>
export default {
  data() {
    return {
      titles: [
        {
          title: this.$store.state.menus.title,
        },
        {
          title: this.$store.state.menus.subTitle,
        },
      ],
    };
  },
  methods: {
    close() {
      this.$router.back();
    },
  },
};
</script>